<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script type="text/javascript" src="../js/vue.js"></script>
</head>
<style>
</style>
<body>
<!-- 容器 -->
<div id="root">
    <div class="container">
    </div>
</div>
<script type="text/javascript">
    const vm=new Vue({
        el: '#root',
        data:{
            student: {
                name: '张三',
                age: 20,
                hobby: ['篮球', '足球', '乒乓球']
                // hobby:{
                //     h1: '篮球',
                //     h2: '足球',
                //     h3: '乒乓球'
                // }
            }
        },
    })
</script>
</body>
</html>